llvm-toolchain-18.git
10 months agolibcxxabi-fix-link-builtins
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
libcxxabi-fix-link-builtins

if LIBCXXABI_USE_COMPILER_RT=ON, add builtins to libcxxabi library
flags, otherwise add libgcc following how libunwind does the same

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxxabi-fix-link-builtins.diff

10 months agolibcxx-libatomic-only-with-gcc-rtlib
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
libcxx-libatomic-only-with-gcc-rtlib

if libatomic is found only link it if libgcc is the rtlib

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-libatomic-only-with-gcc-rtlib.diff

10 months agolibcxx-silent-failure-arm64
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
libcxx-silent-failure-arm64

===================================================================

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-silent-failure-arm64.diff

10 months agolibcxx-silent-failure-ppc64el
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
libcxx-silent-failure-ppc64el

===================================================================

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-silent-failure-ppc64el.diff

10 months agolibcxx-silent-test-libcxx
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
libcxx-silent-test-libcxx

===================================================================

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-silent-test-libcxx.diff

10 months agolibcxxabi-arm-ehabi-fix
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
libcxxabi-arm-ehabi-fix

Fix arm EHABI code to work. armhf had exception test failing without EHABI support.

No known upstream bug about this. Actual code change is more like workaround than
something that upstream would accept. Proper fix would be adding _Unwind_Control_Block
to clang unwind.h. _Unwind_Control_Block should also extend _Unwind_Exception to make
sure their ABI stays in sync.

No known upstream bug about this.

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxxabi-arm-ehabi-fix.patch

10 months agolibcxx-test-fix-lockfree-test-for-i386
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
libcxx-test-fix-lockfree-test-for-i386

Lock is_always_lock free test fails on i386 because std::atomic is aligned

Lock is_always_lock free test fails on i386 because std::atomic is aligned
to 8 bytes while long long is aligned to 4 bytes. clang can't generate inline
code for unaligned 8 byte atomics even tough instruction set and gcc support
it.

That makes it expected thaqt ATOMIC_LLONG_LOCK_FREE and
std::atomic<long long>::is_always_lock_free don't match on i386. Correct test
for std::atomic<long long> is to check if target cpu support cmpxchg8 instruction.
To set instruction support one can check __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 define.

Bug: https://llvm.org/bugs/show_bug.cgi?id=19355

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-test-fix-lockfree-test-for-i386.patch

10 months agolibcxxabi-test-don-t-fail-extended-long-double
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
libcxxabi-test-don-t-fail-extended-long-double

Powerpc has extended double that doesn't match x86 coding. Power format would
need special tests to verify correctness but for now it is enough to prevent
incorrect test from running.

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxxabi-test-don-t-fail-extended-long-double.patch

10 months agoopenmp-check-execstack
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
openmp-check-execstack

===================================================================

Gbp-Pq: Topic openmp
Gbp-Pq: Name openmp-check-execstack.diff

10 months agodisable-error-xray
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
disable-error-xray

===================================================================

Gbp-Pq: Name disable-error-xray.diff

10 months agolldb-missing-install
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
lldb-missing-install

===================================================================

Gbp-Pq: Topic lldb
Gbp-Pq: Name lldb-missing-install.diff

10 months agolldb-addversion-suffix-to-llvm-server-exec
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
lldb-addversion-suffix-to-llvm-server-exec

lldb-server exec users always /usr/bin/lldb-server. Server is required
for any debugging with lldb which makes it unusable unless default version
package has been installed. Small changes to code and debian/rules allows
a workaround for lldb-server start up.

To use this one needs to add cmake definition during configure. eg
-DDEBIAN_VERSION_SUFFIX=-$(LLVM_VERSION)

Better implementation would be to use /usr/share/llvm-$(VERSION)/bin but
that change seems to require a big change to the path handling code
which could then break something else.

This probably should have upstream bug but I couldn't find any existing report.

Gbp-Pq: Topic lldb
Gbp-Pq: Name lldb-addversion-suffix-to-llvm-server-exec.patch

10 months agofix-scan-view-path
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
fix-scan-view-path

===================================================================

Gbp-Pq: Name fix-scan-view-path.diff

10 months agoscan-view-fix-path
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
scan-view-fix-path

===================================================================

Gbp-Pq: Name scan-view-fix-path.diff

10 months agoscan-build-clang-path
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
scan-build-clang-path

Gbp-Pq: Name scan-build-clang-path.diff

10 months agotest-keep-alive
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
test-keep-alive

===================================================================

Gbp-Pq: Name test-keep-alive.diff

10 months agodisable-path-test-failing
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
disable-path-test-failing

===================================================================

Gbp-Pq: Name disable-path-test-failing.diff

10 months agoSilent a test failing on yakkety amd64
Sylvestre [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
Silent a test failing on yakkety amd64

Last-Update: 2016-08-26

/tmp/buildd/llvm-toolchain-snapshot-4.0~svn279801/llvm/test/tools/llvm-symbolizer/print_context.c:16:11: error: expected string not found in input
// CHECK: inc
         ^
<stdin>:1:1: note: scanning from here
_fini
^
<stdin>:1:3: note: possible intended match here
_fini
 ^

Gbp-Pq: Name disable-llvm-symbolizer-test.diff

10 months agoremove-test-freezing
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
remove-test-freezing

===================================================================

Gbp-Pq: Name remove-test-freezing.diff

10 months agosilent-llvm-isel-fuzzer
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
silent-llvm-isel-fuzzer

===================================================================

Gbp-Pq: Name silent-llvm-isel-fuzzer.diff

10 months agosilent-test-macho
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
silent-test-macho

===================================================================

Gbp-Pq: Name silent-test-macho.diff

10 months agosilent-test-failing-codeverage
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
silent-test-failing-codeverage

===================================================================

Gbp-Pq: Name silent-test-failing-codeverage.diff

10 months agosilent-gold-utils
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
silent-gold-utils

Gbp-Pq: Name silent-gold-utils.diff

10 months agosilent-MCJIIT-tests
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
silent-MCJIIT-tests

Gbp-Pq: Name silent-MCJIIT-tests.diff

10 months agosilent-more-tests
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
silent-more-tests

# Comment the tests for the code coverage (fails otherwise)

Gbp-Pq: Name silent-more-tests.diff

10 months agofails on debian unstable amd64
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
fails on debian unstable amd64

Command Output (stderr):
--
/build/llvm-toolchain-snapshot-4.0~svn279916/llvm/test/tools/gold/X86/start-lib-common.ll:22:10: error: expected string not found in input
; CHECK: @x = common global i32 0, align 8
         ^
<stdin>:1:1: note: scanning from here
; ModuleID = '/build/llvm-toolchain-snapshot-4.0~svn279916/build-llvm/llvm/test/tools/gold/X86/Output/start-lib-common.ll.tmp3.o'
^
<stdin>:4:1: note: possible intended match here
@x = common global i32 0, align 4
^

Gbp-Pq: Name silent-gold-test.diff

10 months agoopenmp-soname
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
openmp-soname

===================================================================

Gbp-Pq: Name openmp-soname.diff

10 months agolldb-soname
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
lldb-soname

Gbp-Pq: Topic lldb
Gbp-Pq: Name lldb-soname.diff

10 months agosoname
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
soname

Gbp-Pq: Name 0044-soname.diff

10 months agodisable-display-PASS-UNSUPPORTED-XFAIL
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
disable-display-PASS-UNSUPPORTED-XFAIL

===================================================================

Gbp-Pq: Name disable-display-PASS-UNSUPPORTED-XFAIL.diff

10 months agodo-not-fail-on-unexpected-pass
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
do-not-fail-on-unexpected-pass

===================================================================

Gbp-Pq: Name do-not-fail-on-unexpected-pass.diff

10 months agodebug-jit-path
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
debug-jit-path

===================================================================

Gbp-Pq: Name debug-jit-path.diff

10 months ago[PATCH] [clang] cmake: resolve symlinks in ClangConfig.cmake
Peter Wu [Fri, 4 May 2018 13:55:26 +0000 (15:55 +0200)]
[PATCH] [clang] cmake: resolve symlinks in ClangConfig.cmake

Ensure that symlinks such as /usr/lib/cmake/clang-X.Y (pointing to
/usr/lib/llvm-X.Y/lib/cmake/llvm) are resolved. This ensures that
CLANG_INSTALL_PREFIX ends up to be /usr/lib/llvm-X.Y instead of /usr.

Partially addresses PR37128

Gbp-Pq: Name 0001-tools-clang-cmake-resolve-symlinks-in-ClangConfig.cmake.patch

10 months agoclang-tidy-run-bin
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
clang-tidy-run-bin

===================================================================

Gbp-Pq: Name clang-tidy-run-bin.diff

10 months agosymbolizer-path
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
symbolizer-path

===================================================================

Gbp-Pq: Name symbolizer-path.diff

10 months agoSet html_static_path = ['_static'] everywhere.
Nicholas D Steeves [Sun, 11 Feb 2018 02:00:55 +0000 (21:00 -0500)]
Set html_static_path = ['_static'] everywhere.

Gbp-Pq: Name 0048-Set-html_static_path-_static-everywhere.patch

10 months agofix-clang-path-and-build
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
fix-clang-path-and-build

===================================================================

Gbp-Pq: Name fix-clang-path-and-build.diff

10 months agopython-clangpath
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
python-clangpath

Gbp-Pq: Name python-clangpath.diff

10 months agounwind-chain-inclusion
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
unwind-chain-inclusion

# Without this patch, the first local include of unwind.h might, with the
# __has_include_next, try to include the one from the system.
# It might be /usr/include/clang/3.4/include/unwind.h
# Because of the #ifndef __CLANG_UNWIND_H, it might never include any declaration
# from the system.

Gbp-Pq: Name unwind-chain-inclusion.diff

10 months agodeclare_clear_cache
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
declare_clear_cache

Gbp-Pq: Name declare_clear_cache.diff

10 months agostrlcpy_strlcat_warning_removed
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
strlcpy_strlcat_warning_removed

Gbp-Pq: Name 23-strlcpy_strlcat_warning_removed.diff

10 months agoclang-analyzer-force-version
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
clang-analyzer-force-version

# Force the version of clang in the analyzer
# This was causing the static analyzer to fail silently if the clang & clang++ are
# not installed

Gbp-Pq: Name clang-analyzer-force-version.diff

10 months agoclang-format-version
LLVM Packaging Team [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
clang-format-version

Gbp-Pq: Name clang-format-version.diff

10 months agollvm-toolchain-18 (1:18.1.8-20) unstable; urgency=medium
Matthias Klose [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
llvm-toolchain-18 (1:18.1.8-20) unstable; urgency=medium

  [ Matthias Klose ]
  * On ppc64el configure --with-long-double-format=ieee for upcoming distros.
  * Fix ftbfs with C23. Closes: #1098879, #1114187.
  * Make Ubuntu plucky, questing, resolute known distros.
  * libc++abi: Don't depend on libunwind. Closes: #1071210.
  * Remove M-A: same attribute from libmlir-*. Closes: #1104336.
  * CVE-2024-7883, issue using Arm Cortex-M Security Extensions (CMSE).
Closes: #1104016.
  * Remove obsolete build dependencies libjsoncpp-dev and pkg-config.
    Addresses: #1093961.
  * Fix a new lintian warning for the source.
  * Backport powerpc-fix-SIGILL.diff to fix SIGILL on powerpc.

  [ Gianfranco Costamagna ]
  * Cherry-pick PR: #137403, #137440 and #149140 to fix sanitizer build
    in glibc-2.42 (termio/termios issues).

[dgit import unpatched llvm-toolchain-18 1:18.1.8-20]

10 months agoImport llvm-toolchain-18_18.1.8-20.debian.tar.xz
Matthias Klose [Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)]
Import llvm-toolchain-18_18.1.8-20.debian.tar.xz

[dgit import tarball llvm-toolchain-18 1:18.1.8-20 llvm-toolchain-18_18.1.8-20.debian.tar.xz]

2 years agoImport llvm-toolchain-18_18.1.8.orig.tar.xz
Sylvestre Ledru [Sun, 7 Jul 2024 20:01:17 +0000 (22:01 +0200)]
Import llvm-toolchain-18_18.1.8.orig.tar.xz

[dgit import orig llvm-toolchain-18_18.1.8.orig.tar.xz]